package com.revenant.driver.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.revenant.driver.R;
import com.revenant.driver.bean.ShipperBean.FaPiaoTaiTouListBean;

/**
 * @ProjectName: Shipper
 * @Package: com.revenant.shipper.adapter
 * @ClassName: MineBigItemAdapter
 * @Description: java类作用描述
 * @Author: revenant
 * @CreateDate: 2019-12-30 14:18
 * @UpdateUser: 更新者
 * @UpdateDate: 2019-12-30 14:18
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
public class FaPiaoTaiTouItemAdapter extends BaseQuickAdapter<FaPiaoTaiTouListBean.DataBean.ResultBean, BaseViewHolder> {
    public FaPiaoTaiTouItemAdapter() {
        super(R.layout.item_receipt_title);
    }

    @Override
    protected void convert(BaseViewHolder helper, FaPiaoTaiTouListBean.DataBean.ResultBean item) {
        helper.setText(R.id.name, item.getTitleName());
        helper.setText(R.id.num, item.getTaxNumber());
        helper.addOnClickListener(R.id.edit);
        helper.addOnClickListener(R.id.delete);

    }
}
